import flash.geom.Matrix;
import flash.display.BitmapData;
import flash.geom.Rectangle;
import com.troyworks.framework.ui.DragProxy;
	
/**
 * @author Troy Gardner
 */
class com.troyworks.framework.ui.DraggableSource extends MovieClip {
	public var dragProxy:DragProxy;
	
	function onPress() :Void{
		trace("on dragProxyRequest");

	
	
	    DragProxy.getInstance().setDragSource(this);
		onMouseUp = releaseDragProxy;
	}
	function releaseDragProxy():Void{
		DragProxy.getInstance().releaseDragSource(this);
		delete(onMouseUp);
	}
}